package com.jfs.security.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Description 用户修改密码vo
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/10
 */
@Data
public class UpdateUserPasswordVo {
    /**
     * 旧密码
     */
    @NotEmpty(message = "原密码不能为空")
    private String oldPassword;
    /**
     * 新的密码
     */
    @NotEmpty(message = "新密码不能为空")
    private String newPassword;
    /**
     * 确认密码
     */
    @NotEmpty(message = "再次确认密码不能为空")
    private String againNewPassword;
}
